package com.zdb.demo.design.pattern.structural.decorator.v1;

public class Test {
    public static void main(String[] args) {
        Battercake battercake = new Battercake();
        System.out.println(battercake);

        Battercake battercake1 = new BattercakeWithEgg();
        System.out.println(battercake1);

        Battercake battercake2 = new BattercakeWithSausage();
        System.out.println(battercake2);
    }

}
